export class User{
  private readonly _userName;
  private readonly _age;
  constructor(name:string,age:number) {
    this._userName=name;
    this._age=age;
  }

  /**
   * 这个是测试函数
   * @param test 测试参数
   */
  static getTestName(test:string){
    return "te----"+test;
  }
  toString(){
    return `userName=${this._userName}=age${this._age}`
  }

  get userName() {
    return this._userName;
  }

  get age() {
    return this._age;
  }
}
